﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Facebook.Sites.WebFormsTemplate._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title><asp:ContentPlaceHolder ID="TitleContent" runat="server" /></title>
    <link href="/Content/Site.css" rel="stylesheet" type="text/css" />
</head>

<body>
    <script src="http://static.ak.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>
    <div class="page">

        <div id="header">
            <div id="title">
                <h1>My Facebook Application</h1>
            </div>
              
            <div id="logindisplay">
                <br />
            </div> 
            
            <div id="menucontainer">
            
                <ul id="menu">              

                </ul>
            
            </div>
        </div>

        <div id="main">
            <asp:ContentPlaceHolder ID="MainContent" runat="server" />

            <div id="footer">
            </div>
        </div>
    </div>
    
    <script type="text/javascript">
        FB_RequireFeatures(["XFBML", "CanvasUtil", "Api"], function() {
            FB.Facebook.init("<%= this.FbContext.ApiKey %>", "/xd_receiver.htm");
            FB.XdComm.Server.init("/xd_receiver.htm");
        });
    </script>
</body>
</html>